package mx.ipn.to;

public class FactorTO extends TransferObject {
	private int idFactor;
	private double valor;
	private double banderazo;
	private String descripcion;
	
	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}

	public String getDescripcion() {
		return descripcion;
	}
	
	public void setIdFactor(int idFactor) {
		this.idFactor = idFactor;
	}

	public int getIdFactor() {
		return idFactor;
	}

	public void setValor(double valor) {
		this.valor = valor;
	}

	public double getValor() {
		return valor;
	}

	public double getBanderazo() {
		return banderazo;
	}

	public void setBanderazo(double banderazo) {
		this.banderazo = banderazo;
	}

	public FactorTO(int idFactor, double valor, double banderazo, String descripcion) {
		super();
		this.idFactor = idFactor;
		this.valor = valor;
		this.banderazo = banderazo;
		this.descripcion = descripcion;
	}
	public FactorTO() {
		super();
		this.idFactor = -1;
		this.valor = (double)-1;
		this.banderazo = (double)-1;
		this.descripcion = null;
	}
}
